<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="text" id="debounceInput" placeholder="防抖测试">
    <h2 id="debounceText"></h2>

    <input type="text" id="throttleInput" placeholder="截流测试">
    <h2 id="throttleText"></h2>
    <script src="index.js"></script>
</body>
</html>